﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题文档</title>
<link rel="stylesheet" type="text/css" href="admin/css/public.css">
</head>
<style>
     #pagination-digg{}
</style>
<style type="text/css" media="screen">

    #pagination-digg li { border:0; margin:0; padding:0; font-size:11px; list-style:none; /* savers */ float:left; }

    #pagination-digg a { border:solid 1px #9aafe5; margin-right:2px; }

    #pagination-digg .previous-off,#pagination-digg .next-off  { border:solid 1px #DEDEDE; color:#888888;

        display:block; float:left; font-weight:bold; margin-right:2px; padding:3px 4px; }

    #pagination-digg .next a,#pagination-digg .previous a { font-weight:bold; }

    #pagination-digg .active { background:#2e6ab1; color:#FFFFFF; font-weight:bold; display:block; float:left;

        padding:4px 6px; /* savers */ margin-right:2px; }

    #pagination-digg a:link,#pagination-digg a:visited { color:#0e509e; display:block; float:left; padding:3px 6px;

        text-decoration:none; }

    #pagination-digg a:hover { border:solid 1px #0e509e; }

    body { font-family:Arial, Helvetica, sans-serif; font-size:12px; }

    h2{ clear:both; border:0; margin:0; padding-top:30px; font-size:13px; }

    p{ border:0; margin:0; padding:0; padding-bottom:20px; }

    ul{ border:0; margin:0; padding:0; }

</style>

<style type="text/css" media="screen">

    #pagination-digg li { border:0; margin:0; padding:0; font-size:11px; list-style:none; /* savers */ float:left; }

    #pagination-digg a { border:solid 1px #9aafe5; margin-right:2px; }

    #pagination-digg .previous-off,#pagination-digg .next-off  { border:solid 1px #DEDEDE; color:#888888;

        display:block; float:left; font-weight:bold; margin-right:2px; padding:3px 4px; }

    #pagination-digg .next a,#pagination-digg .previous a { font-weight:bold; }

    #pagination-digg .active { background:#2e6ab1; color:#FFFFFF; font-weight:bold; display:block; float:left;

        padding:4px 6px; /* savers */ margin-right:2px; }

    #pagination-digg a:link,#pagination-digg a:visited { color:#0e509e; display:block; float:left; padding:3px 6px;

        text-decoration:none; }

    #pagination-digg a:hover { border:solid 1px #0e509e; }

    body { font-family:Arial, Helvetica, sans-serif; font-size:12px; }

    h2{ clear:both; border:0; margin:0; padding-top:30px; font-size:13px; }

    p{ border:0; margin:0; padding:0; padding-bottom:20px; }

    ul{ border:0; margin:0; padding:0; }

</style>

<body>
<meta charset='utf8'/>
<div  id="main">
   开始时间： <input type="text" accept=""> 结束时间： <input type="text" accept="">  标题:<input type="text" accept=""> 
<table width="90%" border="0" cellspacing="0" cellpadding="0" class="news_table">
  <caption>
    新闻列表
  </caption>
  <tr>
    <th scope="col">编号</th>
    <th scope="col" width="100">新闻标题</th>
    <th scope="col">所属分类</th>
    <th scope="col">新闻类型</th>
    <th scope="col" width="200">新闻内容</th>
    <th scope="col">添加人</th>
    <th scope="col">资源</th>
    <th scope="col">时间</th>
    <th scope="col">操作</th>
  </tr>


    @foreach($info as $v)
        <tr>
            <td>{{$v->id}}</td>
            <td>{{$v->news_title}}</td>
            <td>{{$v->p_name}}</td>
            <td>{{$v->cate_name}}</td>
            <td>{{$v->content}}</td>
            <td>{{$v->news_man}}</td>
            <td><img src="<?php echo $v->face?>" height="100" width="100"></td>
            <td>{{$v->created_at}}</td>
            <td>
                <a href="{{url('news_del')}}?id=<?php echo $v->id; ?>">删除</a>|
                <a href="{{url('news_edit')}}?id=<?php echo $v->id; ?>">编辑</a>
            </td>
        </tr>
    @endforeach
</table>
    <ul id="pagination-digg">

        <li class="previous-off">&laquo;Previous</li>

        <li class="active">1</li>

        <li><a href="">2</a></li>

        <li><a href="">3</a></li>

        <li><a href="">4</a></li>

        <li><a href="">5</a></li>

        <li><a href="">6</a></li>

        <li><a href="">7</a></li>

        <li class="next"><a href="">Next &raquo;</a></li>

    </ul>
               {{$info->links()}}
</div>
</body>
</html>
